


//
//  BuyViewController.m
//  WD-Movies
//
//  Created by 贺泌钦 on 2019/1/27.
//  Copyright © 2019 chuck. All rights reserved.
//

#import "BuyViewController.h"

@interface BuyViewController ()

@end

@implementation BuyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setUI];//设置页面
    
}
-(void)setUI{
    self.view.backgroundColor = [UIColor grayColor];
    for (int i = 0; i < 3; i ++) {
        NSArray *arr = @[@"微信",@"支付宝",@"本地钱包"];
        UIButton *btn = [[UIButton alloc]initWithFrame:CGRectMake(42+100*i, 100, 80, 80)];
        
        [btn setTitle:arr[i] forState:UIControlStateNormal];
        [self.view addSubview:btn];
    }
}

@end
